/*
 * An XML document type.
 * Localname: tliMSend_m
 * Namespace: http://sei.buaa.edu/mdt/tli
 * Java type: edu.buaa.sei.mdt.tli.TliMSendMDocument
 *
 * Automatically generated - do not modify.
 */
package edu.buaa.sei.mdt.tli.impl;
/**
 * A document containing one tliMSend_m(@http://sei.buaa.edu/mdt/tli) element.
 *
 * This is a complex type.
 */
public class TliMSendMDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements edu.buaa.sei.mdt.tli.TliMSendMDocument
{
    private static final long serialVersionUID = 1L;
    
    public TliMSendMDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TLIMSENDM$0 = 
        new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "tliMSend_m");
    
    
    /**
     * Gets the "tliMSend_m" element
     */
    public edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM getTliMSendM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM target = null;
            target = (edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM)get_store().find_element_user(TLIMSENDM$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "tliMSend_m" element
     */
    public void setTliMSendM(edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM tliMSendM)
    {
        generatedSetterHelperImpl(tliMSendM, TLIMSENDM$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "tliMSend_m" element
     */
    public edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM addNewTliMSendM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM target = null;
            target = (edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM)get_store().add_element_user(TLIMSENDM$0);
            return target;
        }
    }
    /**
     * An XML tliMSend_m(@http://sei.buaa.edu/mdt/tli).
     *
     * This is a complex type.
     */
    public static class TliMSendMImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements edu.buaa.sei.mdt.tli.TliMSendMDocument.TliMSendM
    {
        private static final long serialVersionUID = 1L;
        
        public TliMSendMImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName TS$0 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "ts");
        private static final javax.xml.namespace.QName SRC$2 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "src");
        private static final javax.xml.namespace.QName LINE$4 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "line");
        private static final javax.xml.namespace.QName C$6 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "c");
        private static final javax.xml.namespace.QName AT$8 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "at");
        private static final javax.xml.namespace.QName TO$10 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "to");
        private static final javax.xml.namespace.QName MSGVALUE$12 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "msgValue");
        private static final javax.xml.namespace.QName MSG$14 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "msg");
        
        
        /**
         * Gets the "ts" element
         */
        public edu.buaa.sei.mdt.tli.TsDocument.Ts getTs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TsDocument.Ts target = null;
                target = (edu.buaa.sei.mdt.tli.TsDocument.Ts)get_store().find_element_user(TS$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "ts" element
         */
        public void setTs(edu.buaa.sei.mdt.tli.TsDocument.Ts ts)
        {
            generatedSetterHelperImpl(ts, TS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ts" element
         */
        public edu.buaa.sei.mdt.tli.TsDocument.Ts addNewTs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TsDocument.Ts target = null;
                target = (edu.buaa.sei.mdt.tli.TsDocument.Ts)get_store().add_element_user(TS$0);
                return target;
            }
        }
        
        /**
         * Gets the "src" element
         */
        public edu.buaa.sei.mdt.tli.SrcDocument.Src getSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.SrcDocument.Src target = null;
                target = (edu.buaa.sei.mdt.tli.SrcDocument.Src)get_store().find_element_user(SRC$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "src" element
         */
        public void setSrc(edu.buaa.sei.mdt.tli.SrcDocument.Src src)
        {
            generatedSetterHelperImpl(src, SRC$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "src" element
         */
        public edu.buaa.sei.mdt.tli.SrcDocument.Src addNewSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.SrcDocument.Src target = null;
                target = (edu.buaa.sei.mdt.tli.SrcDocument.Src)get_store().add_element_user(SRC$2);
                return target;
            }
        }
        
        /**
         * Gets the "line" element
         */
        public edu.buaa.sei.mdt.tli.LineDocument.Line getLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.LineDocument.Line target = null;
                target = (edu.buaa.sei.mdt.tli.LineDocument.Line)get_store().find_element_user(LINE$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "line" element
         */
        public void setLine(edu.buaa.sei.mdt.tli.LineDocument.Line line)
        {
            generatedSetterHelperImpl(line, LINE$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "line" element
         */
        public edu.buaa.sei.mdt.tli.LineDocument.Line addNewLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.LineDocument.Line target = null;
                target = (edu.buaa.sei.mdt.tli.LineDocument.Line)get_store().add_element_user(LINE$4);
                return target;
            }
        }
        
        /**
         * Gets the "c" element
         */
        public edu.buaa.sei.mdt.tli.CDocument.C getC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.CDocument.C target = null;
                target = (edu.buaa.sei.mdt.tli.CDocument.C)get_store().find_element_user(C$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "c" element
         */
        public void setC(edu.buaa.sei.mdt.tli.CDocument.C c)
        {
            generatedSetterHelperImpl(c, C$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "c" element
         */
        public edu.buaa.sei.mdt.tli.CDocument.C addNewC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.CDocument.C target = null;
                target = (edu.buaa.sei.mdt.tli.CDocument.C)get_store().add_element_user(C$6);
                return target;
            }
        }
        
        /**
         * Gets the "at" element
         */
        public edu.buaa.sei.mdt.tli.AtDocument.At getAt()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.AtDocument.At target = null;
                target = (edu.buaa.sei.mdt.tli.AtDocument.At)get_store().find_element_user(AT$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "at" element
         */
        public void setAt(edu.buaa.sei.mdt.tli.AtDocument.At at)
        {
            generatedSetterHelperImpl(at, AT$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "at" element
         */
        public edu.buaa.sei.mdt.tli.AtDocument.At addNewAt()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.AtDocument.At target = null;
                target = (edu.buaa.sei.mdt.tli.AtDocument.At)get_store().add_element_user(AT$8);
                return target;
            }
        }
        
        /**
         * Gets the "to" element
         */
        public edu.buaa.sei.mdt.tli.ToDocument.To getTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.ToDocument.To target = null;
                target = (edu.buaa.sei.mdt.tli.ToDocument.To)get_store().find_element_user(TO$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "to" element
         */
        public void setTo(edu.buaa.sei.mdt.tli.ToDocument.To to)
        {
            generatedSetterHelperImpl(to, TO$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "to" element
         */
        public edu.buaa.sei.mdt.tli.ToDocument.To addNewTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.ToDocument.To target = null;
                target = (edu.buaa.sei.mdt.tli.ToDocument.To)get_store().add_element_user(TO$10);
                return target;
            }
        }
        
        /**
         * Gets the "msgValue" element
         */
        public edu.buaa.sei.mdt.tli.MsgValueDocument.MsgValue getMsgValue()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgValueDocument.MsgValue target = null;
                target = (edu.buaa.sei.mdt.tli.MsgValueDocument.MsgValue)get_store().find_element_user(MSGVALUE$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "msgValue" element
         */
        public void setMsgValue(edu.buaa.sei.mdt.tli.MsgValueDocument.MsgValue msgValue)
        {
            generatedSetterHelperImpl(msgValue, MSGVALUE$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "msgValue" element
         */
        public edu.buaa.sei.mdt.tli.MsgValueDocument.MsgValue addNewMsgValue()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgValueDocument.MsgValue target = null;
                target = (edu.buaa.sei.mdt.tli.MsgValueDocument.MsgValue)get_store().add_element_user(MSGVALUE$12);
                return target;
            }
        }
        
        /**
         * Gets the "msg" element
         */
        public edu.buaa.sei.mdt.tli.MsgDocument.Msg getMsg()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgDocument.Msg target = null;
                target = (edu.buaa.sei.mdt.tli.MsgDocument.Msg)get_store().find_element_user(MSG$14, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "msg" element
         */
        public void setMsg(edu.buaa.sei.mdt.tli.MsgDocument.Msg msg)
        {
            generatedSetterHelperImpl(msg, MSG$14, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "msg" element
         */
        public edu.buaa.sei.mdt.tli.MsgDocument.Msg addNewMsg()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgDocument.Msg target = null;
                target = (edu.buaa.sei.mdt.tli.MsgDocument.Msg)get_store().add_element_user(MSG$14);
                return target;
            }
        }
    }
}
